<template>
	<view>
		<zq-navbar v-model="scrollTop" :props="{'navbarTitle':'知秋导航栏','navbarBackgroundImage':'/static/images/control_bg.png'}" :initBtn="initBtn"></zq-navbar>
		<u-swiper :list="list"></u-swiper>
		<view class="box">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				scrollTop:0,
				title: 'Hello',
				initBtn:[],
				list:[{image:"/static/images/banner.png"}]
			}
		},
		onLoad() {
			let a = {'add':0,'edit':1,'delete':2,'save':3,'code':4,'news':5,'upDate':6,'chart-bar':7,'chart-pie':8,'set':9,'search':10,'sidebar':11,'select':14,'other':15,'phone':16,'fabulous':17,'share':18,'list':19,'view':20};
			for(let key in a){
				this.initBtn.push({name:key})
			}
		},
		onPageScroll(event) {
			this.scrollTop = event.scrollTop;
		},
		onPullDownRefresh() {
			uni.stopPullDownRefresh();
		},
		methods: {

		}
	}
</script>

<style>
	.box{width: 100%;height: 9000px;background: red;}
</style>
